free-pi-cli 0.6.3 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.js +2 -2
- package/dist/{main-q0zat1nk.js → main-m7ct3546.js} +461 -158
- package/package.json +1 -1
- package/skills/ux-flow/SKILL.md +200 -0
- package/skills/ux-flow/references/simplification-heuristics.md +103 -0
- package/skills/ux-paths/SKILL.md +196 -0
- package/skills/ux-paths/references/path-categories.md +169 -0
- package/skills/ux-visual/SKILL.md +252 -0
- package/skills/ux-visual/references/layout-audit.js +145 -0
- package/skills/ux-visual/references/solution-rubric.md +70 -0
- package/skills/ux-visual/references/visual-heuristics.md +102 -0
- package/skills/ux-visual/templates/report-template.md +29 -0
- package/skills/ux-walker/SKILL.md +251 -0
- package/skills/ux-walker/references/action-patterns.md +75 -0
- package/skills/ux-walker/references/geometry-audit.js +82 -0
- package/skills/ux-walker/references/issue-template.md +110 -0
- package/skills/ux-walker/references/triage-rubric.md +55 -0
- package/skills/ux-walker/references/ux-audit-rubric.md +174 -0
- package/skills/ux-walker/references/visual-inspection.md +92 -0
- package/skills/ux-walker/templates/latest-report-template.md +139 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ for the user because ads pay for inference. All model calls route through the
|
|
|
5
5
|
free-pi proxy — you never handle a model API key.
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npx free-pi-cli
|
|
8
|
+
npx free-pi-cli@latest
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
First run shows a consent screen (free inference, ads pay for it, sessions
|
|
@@ -18,7 +18,7 @@ existing `~/.pi/agent` install.
|
|
|
18
18
|
Closed the terminal? Just run the same command again — you stay signed in:
|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
npx free-pi-cli
|
|
21
|
+
npx free-pi-cli@latest
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
Prefer a shorter command? Install it once, globally, then call it by name:
|
|
@@ -29,7 +29,7 @@ free-pi-cli
|
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Note: `free-pi-cli` is the command — **not** `pi`. If you see the built-in
|
|
32
|
-
agent suggest `pi --session …` on exit, use `npx free-pi-cli --session <id>`
|
|
32
|
+
agent suggest `pi --session …` on exit, use `npx free-pi-cli@latest --session <id>`
|
|
33
33
|
instead. In a folder with a recent session, some users are offered a
|
|
34
34
|
one-keypress continue (default Yes). `--continue` resumes the last session
|
|
35
35
|
here; `--new` starts fresh.
|
|
@@ -48,7 +48,7 @@ here; `--new` starts fresh.
|
|
|
48
48
|
| `src/index.ts` | bin entry — wires real dependencies, calls `run()` |
|
|
49
49
|
| `src/run.ts` | orchestration: consent → login → token check → launch |
|
|
50
50
|
| `src/consent.ts` | consent screen text/parsing |
|
|
51
|
-
| `src/auth-flow.ts` | GitHub device flow
|
|
51
|
+
| `src/auth-flow.ts` | Sign-in clients: browser "Connect this terminal" (`/auth/connect/start`, `/auth/connect/poll`) and the GitHub device flow fallback (`/auth/github/device`, `/auth/consent`, `/auth/token`), `/me` token check |
|
|
52
52
|
| `src/credentials.ts` | JWT file storage (mode 0600) under the free-pi config dir |
|
|
53
53
|
| `src/provider.ts` | pure builder for the `pi.registerProvider` config |
|
|
54
54
|
| `src/pi-launch.ts` | the actual pi SDK integration (registers the provider, launches the TUI) |
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ function zstdSupportError(zlibModule = zlib, nodeVersion = process.versions.node
|
|
|
17
17
|
`The pi agent needs Node with zstd support (Node >= 22.15, or >= 23.8 on the`,
|
|
18
18
|
`Current line) — older Node crashes mid-request inside the agent. Upgrade Node:`,
|
|
19
19
|
``,
|
|
20
|
-
` nvm install 22 # then re-run: npx free-pi-cli`,
|
|
20
|
+
` nvm install 22 # then re-run: npx free-pi-cli@latest`,
|
|
21
21
|
``,
|
|
22
22
|
`(or update your system Node to the latest LTS.)`
|
|
23
23
|
].join(`
|
|
@@ -30,4 +30,4 @@ if (err) {
|
|
|
30
30
|
console.error(err);
|
|
31
31
|
process.exit(1);
|
|
32
32
|
}
|
|
33
|
-
await import("./main-
|
|
33
|
+
await import("./main-m7ct3546.js");
|